package com.yunji.storage.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.storage.dto
 * @Title: AllocateInfoDTO
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-08-20 15:48:04      V1.0        HuaAo       新建类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AllocateInfoDTO {

    @ApiModelProperty("详情ID")
    private Long infoId;

    @ApiModelProperty(value = "商品ID", required = true)
    private Long productId;

    @ApiModelProperty(value = "商品sku", required = true)
    private String productSku;

    @ApiModelProperty(value = "商品名称", required = true)
    private String productName;

    @ApiModelProperty(value = "调拨数量", required = true)
    private BigDecimal allocateAmount;

    @ApiModelProperty(value = "单位ID", required = true)
    private Long unitId;

    @ApiModelProperty(value = "单位名称", required = true)
    private String unitName;

    public Long getInfoId() {
        return infoId;
    }

    public void setInfoId(Long infoId) {
        this.infoId = infoId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductSku() {
        return productSku;
    }

    public void setProductSku(String productSku) {
        this.productSku = productSku;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public BigDecimal getAllocateAmount() {
        return allocateAmount;
    }

    public void setAllocateAmount(BigDecimal allocateAmount) {
        this.allocateAmount = allocateAmount;
    }

    public Long getUnitId() {
        return unitId;
    }

    public void setUnitId(Long unitId) {
        this.unitId = unitId;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }
}